KeyChainException.ErrorNumber Property
Syntax
ErrorNumber as Integer
Indicates the type of error that was encountered.